package day0625;

public class Test2 {
    public static void main(String[] args) {
        /*int a=1;
        int b=1;
        System.out.println( a==b );
        if(a==b){
            System.out.println("a和b相同");
        }*/


        String a="1";
        String b="一";
        System.out.println( a.equals(b) );//equals相等



        if(a.equals(b)){
            System.out.println("a和b相同");
        }







    }
}
